package com.jsh.erp.feign;

import com.jsh.erp.datasource.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "jsh-system",path = "/jshERP-boot/remote/api/user",contextId = "UserRemoteClient")
public interface UserRemoteClient {

    @GetMapping("/getCurrentUser")
     User getCurrentUser()throws Exception;
}
